package site.wanjiahao.handler.client;

import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import site.wanjiahao.message.response.QuitGroupResponseMessage;

@ChannelHandler.Sharable
public class QuitGroupResponseMessageHandler extends SimpleChannelInboundHandler<QuitGroupResponseMessage> {

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, QuitGroupResponseMessage msg) throws Exception {
        System.out.println(msg.getReason());
    }
}
